package com.demo.boss.models.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class PayWayRequest {
    @NotNull(message = "产品编码不能空")
    @Size(min = 2,max = 20,message = "产品编码在{min}-{max}个字符")
    private String productCode;
    @NotNull(message = "支付方式不能空")
    @Size(min = 2,max = 20,message = "支付方式在{min}-{max}个字符")
    private String wayCode;
    @NotNull(message = "支付类型不能空")
    @Size(min = 2,max = 20,message = "支付类型在{min}-{max}个字符")
    private String typeCode;
}
